<template>
    <div class="searchlist">
                    <div class="searchsmallbox">
                        <div class="searchone">
                            <span class="classifyname">订单号</span>
                            <div class="shopnamebox">
                                <input type="text" placeholder="请输入">
                            </div>
                        </div>
                        <div class="searchone">
                            <span class="classifyname">收货人</span>
                            <div class="shopnamebox">
                                <input type="text" placeholder="请输入">
                            </div>
                        </div>
                        <div class="searchone">
                            <span class="classifyname">收货电话</span>
                            <div class="shopnamebox">
                                <input type="text" placeholder="请输入">
                            </div>
                        </div>
                        <div class="searchthree">
                            <span class="classifyname">下单时间</span>
                            <div class="datebox">
                                <el-date-picker
                                    v-model="value"
                                    type="daterange"
                                    start-placeholder="开始日期"
                                    end-placeholder="结束日期"
                                    :default-time="['00:00:00', '23:59:59']">
                                </el-date-picker>
                            </div>
                        </div>
                        <div class="searchtwo">
                            <span class="classifyname">订单类型</span>
                            <div class="selectbox">
                                <el-select  v-model="value" placeholder="请选择">
                                    <el-option
                                    v-for="item in options"
                                    :key="item.value"
                                    :label="item.label"
                                    :value="item.value">
                                    </el-option>
                                </el-select>
                            </div>
                        </div>
                        <div class="searchtwo">
                            <span class="classifyname">付款方式</span>
                            <div class="selectbox">
                                <el-select  v-model="value" placeholder="请选择">
                                    <el-option
                                    v-for="item in options"
                                    :key="item.value"
                                    :label="item.label"
                                    :value="item.value">
                                    </el-option>
                                </el-select>
                            </div>
                        </div>
                        <div class="otherbox">
                            <div class="searchone">
                                <span class="classifyname">商品名称</span>
                                <div class="shopnamebox">
                                    <input type="text" placeholder="请输入">
                                </div>
                            </div>
                            <div class="searchfour">
                                <span class="classifyname">订单状态</span>
                                <div class="statusbox">
                                    <el-select  v-model="value" placeholder="请选择">
                                        <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                        </el-option>
                                    </el-select>
                                </div>
                            </div>
                            <div class="searchbutton">
                                <img src="../assets/search.svg" alt="">
                                <span>查询</span>
                            </div>
                        </div>
                        
                    </div>
                </div>
</template>

<script>
export default {
    name: "Searchbox",
    data(){
        return{
            checknum:-1,
            chart:null,
            listnum:0,
            value: '',
            currentPage4: 1,
            midclassify: ['全部','销售中','仓库中','已售罄',],
            tableData: [{
          date: '2016-05-03',
          name: '王小',
          address: '上海市普陀区金沙江路 1518 弄',
          shopname: '香蕉',
          shopclassify: '水果',
          status: '正常',
          visitnum: 100,
          salenum: 1000,
          wtgroup: '',
        },  {
            date: '2016-05-03',
          name: '小虎',
          address: '北京市海淀区西二旗',
          shopname: '香蕉',
          shopclassify: '水果',
          status: '正常',
          visitnum: 100,
          salenum: 1000,
          wtgroup: '',
        }, {
        date: '2016-05-03',
          name: '王小虎',
          address: '上海市浦东新区',
          shopname: '香蕉',
          shopclassify: '水果',
          status: '正常',
          visitnum: 100,
          salenum: 1000,
          wtgroup: '',
        }, {
            date: '2016-05-03',
          name: '王虎',
          address: '上海市浦东新区',
          shopname: '香蕉',
          shopclassify: '水果',
          status: '正常',
          visitnum: 100,
          salenum: 1000,
          wtgroup: '',
        }, {
            date: '2016-05-03',
          name: '王小',
          address: '北京市海淀区西二旗金沙江路 1518 弄',
          shopname: '香蕉',
          shopclassify: '水果',
          status: '正常',
          visitnum: 100,
          salenum: 1000,
          wtgroup: '',
        }, {
            date: '2016-05-03',
          name: '小虎',
          address: '北京市海淀区西二旗路 1518 弄',
          shopname: '香蕉',
          shopclassify: '水果',
          status: '正常',
          visitnum: 100,
          salenum: 1000,
          wtgroup: '',
        }, {
            date: '2016-05-03',
          name: '王虎',
          address: '上海市浦东新区 1518 弄',
          shopname: '香蕉',
          shopclassify: '水果',
          status: '正常',
          visitnum: 100,
          salenum: 1000,
          wtgroup: '',
        }],
        multipleSelection: [],
            options: [{
                value: '选项1',
                label: '蔬菜'
                }, {
                value: '选项2',
                label: '水果'
                },],
                value: '',
                dates: [{
                value: '选项1',
                label: '正常'
                }, {
                value: '选项2',
                label: '淘汰'
                },],
        }
      },
     
}
</script>

<style scoped>
    

    .searchlist{
        background-color: #f4f9fa;
        width: 1220px;
        margin-top: 16px;
        height: 192px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        padding-left: 20px;
    }
    .searchone{
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        margin-right: 25px;
    }
    .shopnamebox{
        width: 200px;
        box-sizing: border-box;
        padding: 5px 7px;
        border: 1px solid #555;
        background-color: #fff;
    }
    .shopnamebox input{
        border: none;
        outline: none;
    }
    .searchtwo{
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        margin-right: 25px;
    }
    .searchthree{
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        margin-right: 25px;
    }
    .searchfour{
        display: flex;
        align-items: center;
    }
    .searchbutton{
        width: 80px;
        height: 30px;
        background: inherit;
        background-color: rgba(0, 153, 255, 1);
        border: none;
        border-radius: 2px;
        font-weight: 400;
        font-style: normal;
        font-size: 13px;
        display: flex;
        align-items: center;
        color: #fff;
        margin-left: 74px;
    }
    .searchbutton img{
        width: 13px;
        height: 13px;
        margin-left: 16px;
        margin-right: 8px;
    }
    .searchsmallbox{
        width: 900px;
        display: flex;
       
        flex-wrap: wrap;
    }
    ::v-deep .el-input__inner  {
        height: 30px;
        line-height: 30px; /* 确保文本垂直居中 */
    }
    
/* 同理，调整下拉箭头的大小和位置 */
    ::v-deep .el-select .el-input__icon {
    line-height: 30px; /* 确保下拉箭头垂直居中 */
    }
    ::v-deep .el-icon-date {
    line-height: 22px; /* 确保下拉箭头垂直居中 */
    }
    ::v-deep .el-range-separator{
        line-height: 22px;
    }
    ::v-deep .el-range__close-icon{
        line-height: 22px;
    }
    ::v-deep .el-select{
        width: 200px;
    }
    ::v-deep .el-date-editor{
        width: 200px;
    }
    ::v-deep .el-button{
        border: 0;
        margin-left: 5px;
        margin-right: 5px;
        color: #0099ff;
    }
    .searchlistbox{
        display: flex;
        flex-wrap: wrap;
        max-width: 1150px;
        padding-left: 10px;
    }
    .classifyname{
        min-width: 64px;
        text-align: start;
        font-size: 14px;
        margin-right: 10px
    }
    ::v-deep .el-table__header-wrapper{
        border-color: rgba(204, 204, 204, 1);
        border-width: 1px;
        border-style: solid;
        border-left: 0px;
        border-right: 0px;
       
    }
    ::v-deep .el-table th {
        
        background-color: #f2f2f2;
    }
    ::v-deep .cell{
        line-height: 1;
    }
    ::v-deep .el-table th.el-table__cell>.cell{
        padding-left: 14px;
    }
    .otherbox{
        width: 590px;
        display: flex;
        flex-wrap: wrap;
    }
</style>